using ICSharpCode.TextEditor.UserControls;

namespace ICSharpCode.TextEditor.Src.Actions
{
	internal class FindAgainReverseAction : FindAndReplaceFormActions
	{
		public FindAgainReverseAction(FindAndReplaceForm findForm, TextEditorControlEx control)
			: base(findForm, control)
		{
		}

		public override void Execute(TextArea textArea)
		{
			base.FindForm.FindNext(viaF3: true, searchBackward: true, $"Search text «{base.FindForm.LookFor}» not found.");
		}
	}
}
